import { createStore } from 'vuex'

export default createStore({
  state: {
    active:0,
    city:'北京',
    activet:0,
    id:'110100'
  },
  getters: {
  },
  mutations: {
   // 修改数据
   changeActive(state,n) {
    state.active = n
  },
  changecity(state,citya) {
    state.city = citya
  },
  changeid(state,n) {
    state.id = n
  },
  changeActivet(state,n) {
    state.activet = n
  }
  },
  actions: {
  },
  modules: {
  }
})
